/**
 * EditMusicService.java
 *
 *
 * $LastChangedBy: allen $
 * $LastChangedDate: 2007-11-26 11:29:11 +0800 $
 * $Revision: 1256 $
 */
package com.myspace.service.music;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.myspace.domain.Music;
import com.myspace.domain.MusicComment;

/**
 * Service for edit music.
 *
 * @author Allen.Chen
 *
 */
@Transactional
public interface EditMusicService {

	public void addMusic(Long userId,Music music);

	public void delMusic(Long id);

	public void updateMusic(Music music);

	@Transactional(readOnly=true)
	public Music getMusic(Long id);

	public List<MusicComment> getCommentList(Long musicId);

	public void saveMusicComment(MusicComment musicComment);

}
